$zIndex3: 3003;
$fontSize: 14px;
$leftRight: 14px;
$iconsWidth: 82px;
$headerHeigth: 52px;
$footerHeight: 30%;

.pop-up {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  z-index: $zIndex3;
  transition: all 0.5s;
  &.show {
    visibility: visible;
    display: block;
    opacity: 1;
    transition: all 0.5s;
  }
  .popup-mask {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
  }

  .popup-note {
    width: 5.6rem;
    min-height: 1.9rem;
    background: #ffffff;
    border-radius: 4px;
    box-shadow: 0px 2px 24px 0px rgba(200, 201, 204, 0.5);
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    .popup-note-header {
      height: $headerHeigth;
      line-height: $headerHeigth;
      font-size: 15px;
      font-weight: bold;
      text-align: left;
      color: #333333;
      padding: 0 20px;
      border-bottom: 1px solid #dcdee1;
    }

    .popup-note-middle {
      height: calc(100% - #{$footerHeight});
      display: flex;
      padding: 10px 20px;
      max-height: 320px;
      overflow-y: auto;
      .popup-note-icon {
        margin: 0 18px 0 0;
        [class^='icon'] {
          font-size: 24px !important;
        }
        .icon-success {
          color: #34bb4b;
        }
        .icon-info {
          color: #f39000;
        }
        .info {
          color: $purple;
        }
      }
      .pop-note-content {
        width: 100%;

        .pop-note-content-msg {
          font-family: PingFangSC-Regular;
          font-size: 14px;
          color: #333333;
          letter-spacing: 0;
        }
      }
    }
    .pop-note-footer {
      height: $footerHeight;
      width: 100%;
      padding: 20px;
      .pop-note-footer-type {
        height: 100%;
        width: 100%;
        display: flex;
        justify-content: center;
      }
      .pop-note-btn {
        min-width: 80px;
      }
    }
  }
}

.top-enter-active,
.top-leave-active,
.bottom-enter-active,
.bottom-leave-active {
  transition: all 0.4s;
}

.top-enter,
.top-leave-active {
  transform: translateY(-100%);
}

.bottom-enter,
.bottom-leave-active {
  transform: translateY(100%);
}
